﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace Entity
{
    /// <summary>
    /// 员工类
    /// </summary>
    public class Employee
    {
        [Column(TypeName = "varchar(36)")]
        public string Id { get; set; }

        [Column(TypeName = "varchar(36)")]
        public string? RoleId { get; set; }

        [Column(TypeName = "nvarchar(32)")]
        public string Name { get; set; }

        [Column(TypeName = "varchar(32)")]
        public string? Phone { get; set; }

        [Column(TypeName = "varchar(32)")]
        public string Account { get; set; }

        [Column(TypeName = "varchar(32)")]
        public string Password { get; set; }

        public DateTime CreateTime { get; set; }

        [Column(TypeName = "bit")]
        public bool IsDelete { get; set; }

        public DateTime DeleteTime { get; set; }

    }
}
